#define _CRT_SECURE_NO_WARNINGS  1
#include<stdio.h>
#include<string.h>
int main()
{
	char arr[] = "zpengwei@yeah.nethehe";
	char tmp[30] = { 0 };
	strcpy(tmp, arr);
	const char* sep = " @.";
	char* p = NULL;
	for (p = strtok(tmp, sep); p != NULL; p = strtok(NULL, sep))
	{
		printf("%s\n", p);
	}


	return 0;
}